package com.niit.model;


import lombok.*;
import lombok.experimental.Accessors;

import java.util.List;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Accessors(chain = true) //添加链式
public class Teacher {
    int id_teacher;
    String name;
    String password;
    int age;
    String sex;
    String occupation;

    List<ExamPaper> examPapers;
    List<Classes> classesList;
    List<Question> questions;
}
